#include "CastExpr.h"
#include "../../symtab/symtab.h"
#include "UnaryExpr.h"

CastExpr::~CastExpr(void)
{
	if(m_bIsUnaryExpr)
		delete m_pUnaryExpr;
	else
		delete m_pCastExpr;
}

void CastExpr::codeGen()
{
	COUT
	if(m_bIsUnaryExpr)
		m_pUnaryExpr->codeGen();
	else
		m_pCastExpr->codeGen();
}